/*
 * switch 的特殊用法：穿透
 * */

import java.util.Scanner;

public class SwitchCase {
    public static void main(String[] args) {
        // 用户输入数字
        Scanner sca = new Scanner(System.in);
        System.out.print("请输入星期：");
        int week = sca.nextInt();
        switch (week) {
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
                System.out.println("工作日");
                break;
            case 6:
            case 7:
                System.out.println("双休日");
                break;
            default:
                System.out.println("星期输入有误！");
        }
    }
}